以下是我設定的 zaptel.conf 的檔案
# Autogenerated by /usr/sbin/genzaptelconf -- do not hand edit
# Zaptel Configuration File
#
# This file is parsed by the Zaptel Configurator, ztcfg
#
# It must be in the module loading order
# Span 1: TE4/0/1 "T4XXP (PCI) Card 0 Span 1" (MASTER)
span=1,1,0,ccs,hdb3,crc4
# termtype: te
bchan=1-15,17-31
dchan=16
# Span 2: TE4/0/2 "T4XXP (PCI) Card 0 Span 2"
span=2,2,0,ccs,hdb3,crc4
# termtype: te
bchan=32-46,48-62
dchan=47
# Span 3: TE4/0/3 "T4XXP (PCI) Card 0 Span 3"
span=3,3,0,ccs,hdb3,crc4
# termtype: te
bchan=63-77,79-93
dchan=78
# Span 4: TE4/0/4 "T4XXP (PCI) Card 0 Span 4"
span=4,4,0,ccs,hdb3,crc4
# termtype: te
bchan=94-108,110-124
dchan=109
# Span 5: TE4/1/1 "T4XXP (PCI) Card 1 Span 1"
span=5,5,0,ccs,hdb3,crc4
# termtype: te
bchan=125-139,141-155
dchan=140
# Span 6: TE4/1/2 "T4XXP (PCI) Card 1 Span 2"
span=6,6,0,ccs,hdb3,crc4
# termtype: te
bchan=156-170,172-186
dchan=171
# Span 7: TE4/1/3 "T4XXP (PCI) Card 1 Span 3"
span=7,7,0,ccs,hdb3,crc4
# termtype: te
bchan=187-201,203-217
dchan=202
# Span 8: TE4/1/4 "T4XXP (PCI) Card 1 Span 4"
span=8,8,0,ccs,hdb3,crc4
# termtype: te
bchan=218-232,234-248
dchan=233
# Span 9: TE4/2/1 "T4XXP (PCI) Card 2 Span 1"
span=9,9,0,ccs,hdb3,crc4
# termtype: te
bchan=249-263,265-279
dchan=264
# Span 10: TE4/2/2 "T4XXP (PCI) Card 2 Span 2"
span=10,10,0,ccs,hdb3,crc4
# termtype: te
bchan=280-294,296-310
dchan=295
# Span 11: TE4/2/3 "T4XXP (PCI) Card 2 Span 3"
span=11,11,0,ccs,hdb3,crc4
# termtype: te
bchan=311-325,327-341
dchan=326
# Span 12: TE4/2/4 "T4XXP (PCI) Card 2 Span 4"
span=12,12,0,ccs,hdb3,crc4
# termtype: te
bchan=342-356,358-372
dchan=357
# Span 13: TE4/3/1 "T4XXP (PCI) Card 3 Span 1"
span=13,13,0,ccs,hdb3,crc4
# termtype: te
bchan=373-387,389-403
dchan=388
# Span 14: TE4/3/2 "T4XXP (PCI) Card 3 Span 2"
span=14,14,0,ccs,hdb3,crc4
# termtype: te
bchan=404-418,420-434
dchan=419
# Span 15: TE4/3/3 "T4XXP (PCI) Card 3 Span 3"
span=15,15,0,ccs,hdb3,crc4
# termtype: te
bchan=435-449,451-465
dchan=450
# Span 16: TE4/3/4 "T4XXP (PCI) Card 3 Span 4"
span=16,16,0,ccs,hdb3,crc4
# termtype: te
bchan=466-480,482-496
dchan=481
# Global data
loadzone = us
defaultzone = us
執行 genzaptelconf -sdvM 後
Shutting down asterisk: [FAILED]
Unloading zaptel modules:
Temporarily moving zaptel.conf aside to work around broken modprobe.conf
Test Loading modules:
ok wct4xxp
- wcte12xp
- wcte11xp
- wct1xxp
- wanpipe
- tor2
- torisa
- qozap
- vzaphfc
- zaphfc
- ztgsm
- wctdm24xxp
- wctdm
- opvxa1200
- wcfxo
- pciradio
- wcusb
- xpp_usb
- ystdm8xx
- zma8xx
- ztd-ethmf -ethmf_args
Zaptel Version: 1.4.11
Echo Canceller: Oslec
Configuration
======================
Channel map:
0 channels to configure.
- r4fxo
Zaptel Version: 1.4.11
Echo Canceller: Oslec
Configuration
======================
Channel map:
0 channels to configure.
- rcbfx
Zaptel Version: 1.4.11
Echo Canceller: Oslec
Configuration
======================
Channel map:
0 channels to configure.
- r1t1
Zaptel Version: 1.4.11
Echo Canceller: Oslec
Configuration
======================
Channel map:
0 channels to configure.
- rxt1
Updating modules list in zaptel init config /etc/sysconfig/zaptel.
Generating '/etc/zaptel.conf and /etc/asterisk/zapata-channels.conf'
Reconfiguring identified channels
Notice: Configuration file is /etc/zaptel.conf
line 101: Timing should be a number from 0 to 15, not '16'
1 error(s) detected
SETTING FILE PERMISSIONS Asterisk
Permissions Asterisk OK
Starting asterisk: [ OK ]
Checking channels configured in Asterisk:
Asterisk ended with exit status 1
Asterisk died with code 1.
Automatically restarting Asterisk.
Unable to connect to remote asterisk (does /var/run/asterisk/asterisk.ctl exist?)
[root@elastix ~]# mpg123: no process killed
Asterisk ended with exit status 1
Asterisk died with code 1.
Automatically restarting Asterisk.
mpg123: no process killed
Asterisk ended with exit status 1
Asterisk died with code 1.
一直持續跳出
Asterisk ended with exit status 1
Asterisk died with code 1.